package com.aiks.single.singlemavenproject.aware;

import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;

/**
 * @author <a href="mailto:yuanz@yxt.com">yuanz</a>
 * @date 2021-09-01 10:57
 * @since 1.0.0
 **/
public class ApplicationContextHelper implements ApplicationContextAware {
    
    private static ApplicationContext applicationContext;
    
    @Override
    public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
        this.applicationContext = applicationContext;
    }
}
